import os
wksp_root = os.environ['WKSP_ROOT']

vlogbld = Builder(
        action='vlog $SOURCES',
        suffix='.qdb',
        src_suffix=['.sv', '.v']
    )

env = Environment(
        ENV={'PATH': os.environ['PATH']},
        BUILDERS={'Vlog': vlogbld})

srcs = [os.path.join(wksp_root, 'src/layer_mux.v'), 
        os.path.join(wksp_root, 'src/barrel_shifter.v')]
env.Vlog('work/_lib', srcs)

